package com.wilschrader.demarche;

import com.wilschrader.demarche.stages.AntiFighterBarrage;
import com.wilschrader.demarche.stages.AssaultCannons;
import com.wilschrader.demarche.stages.SpaceCombat;
import com.wilschrader.demarche.units.Carrier;
import com.wilschrader.demarche.units.Cruiser;
import com.wilschrader.demarche.units.Destroyer;
import com.wilschrader.demarche.units.Dreadnought;
import com.wilschrader.demarche.units.Fighter;
import com.wilschrader.demarche.units.GroundForce;
import com.wilschrader.demarche.units.PDS;


public class Demarche {

	public static void main(String[] args) {
		Simulation sim = new Simulation();
		//Simulation.setDebugOutput(true);
		Fleet forg = new Fleet("Forg's Fleet");
		Fleet kobok = new Fleet("kobok's Fleet");
		
		forg.addUnits(new PDS(4, 2), 2);
		forg.addUnits(new Destroyer(1, 3, 2, 2), 5);
		kobok.addUnits(new Cruiser(2, 4), 3);
		kobok.addUnit(new Carrier(2, 2));
		kobok.addUnits(new Fighter(1, 3), 6);
		kobok.addUnits(new Dreadnought(4, 7, 4), 1);
		
		sim.addFleet(Fleet.Type.Defensive, kobok);
		sim.addFleet(Fleet.Type.Attacking, forg);
		
		sim.addStage(new SpaceCombat());
		
		sim.runSimulation(100);
		
		
	}

}
